<template>

  <div class="pageWrap" >

  </div>

</template>

<script>



  export default {
    data(){
      return {
        radio1: 1,
      }
    },
    components: {

    },
    created(){

    },
    mounted(){

//      document.querySelector(".moveControl").style.height = document.querySelector(".pageWrap").clientHeight - 335 + "px"

    },
    destroyed(){

    },
    methods: {
      //     获取数据
      getUrgentInfo(){
        const today = this.dtime().format('YYYY-MM-DD')
        let url = process.env.API_HOST + '/homePage/parkNum'
        let url2 = process.env.API_HOST + '/ulinkUserAbnormal/isUrgentNum?queTime=' + today
        this.axios.get(url, {withCredentials: true})
          .then(response => {
            const result = response.data
            if (result.state === 0) {
              this.currentParking = result.data.totalCount
            } else {
              this.currentParking = 0
            }
          })

        this.axios.get(url2, {withCredentials: true})
          .then(response => {
            const result = response.data
            if (result.state === 0) {
              this.urgentCounts = result.data.totalCount
            } else {
              this.urgentCounts = 0
            }

          })
      }
    },
    watch: {
      '$route' (to, from) {
        // 对路由变化作出响应...

      }
    }
  }
</script>


<style lang="stylus" rel="stylesheet/stylus" >
  @import "../../common/stylus/mixin.styl"
  .pageWrap
    page()
    background-color white



</style>
